package nanguo.not.cloud.foeign;

import org.springframework.stereotype.Component;

@Component
public class HystrixClientFallback implements ProviderRemote {

    @Override
    public String hello(String name) {
        //服务出错时自动降级，避免阻塞
        return "error";
    }
}
